#ifndef _SoundManager_H_
#define _SoundManager_H_

#include <vector>

#include <gccore.h>

#include "common.h"
#include "soundfile.h"

#include "oggplayer.h"

#include "settings.h"

#include "snd.h"       // sound library

using namespace Common;

class SoundManager {
	public:
		SoundManager(Settings* settingsPtr);
		~SoundManager();
		
		//Returns id of sound playing
		int PlaySound(Sound::Type snd, int loops = 0); //Play a sound the requested number of times (-1 is infinite loop)
		
		//Stop playing sound of requested ID
		void StopSound(int id){};
		
	private:
		std::vector<SoundFile*> _sounds;
		Settings* _ptrSettings;
};

#endif //_SoundManager_H_

